package com.ca.project.Server.Modules.UserInfo.Context;

import com.ca.project.Server.Modules.UserInfo.Entity.UserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description
 * @Author:你好呀小陳同學
 * @CreateTime:21/9/202316:43
 */
@Data
public class UserInfoUpdateContext implements Serializable {

    private static final long serialVersionUID = 2806673826142677549L;
    /**
     * 微信用户唯一标识
     */
    private String openid;

    private String token;
    /**
     * 用户姓名
     */
    private String realname;
    /**
     * 用户宿舍
     */
    private String dormnum;
    /**
     * 用户联系电话
     */
    private String phone;
    /**
     * 用户学号
     */
    private String stunum;
    /**
     * 实体类
     */
    private UserInfo entity;
}
